import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/es',
      name: 'es',
      component: () => import('@/components/es6')
    },
    {
      path: '/own',
      name: 'own',
      component: () => import('@/components/ownApproval')
    },
    {
      path: '/steps',
      name: 'steps',
      component: () => import('@/components/steps')
    },
    {
      path: '/inputNumber',
      name: 'inputNumber',
      component: () => import('@/components/inputNumber')
    },
    {
      path: '/cascader',
      name: 'cascader',
      component: () => import('@/components/cascader')
    },
    {
      path: '/upload',
      name: 'upload',
      component: () => import('@/components/upload')
    },
    {
      path: '/form',
      name: 'form',
      component: () => import('@/components/form')
    }
  ]
})
